package cn.com.pet.common.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.pet.common.dao.BbsBoardMapper;
import cn.com.pet.common.entity.BbsBoard;
import cn.com.pet.common.service.BbsBoardService;

@Service("bbsBoardService")
public class BbsBoardServiceImpl implements BbsBoardService {

	@Autowired
	BbsBoardMapper bbsBoardMapper;

	@Override
	public List<BbsBoard> getBbsBoards(BbsBoard bbsBoard) {
		// TODO Auto-generated method stub
		return bbsBoardMapper.getBbsBoards(bbsBoard);
	}

	@Override
	public void addBbsBoard(BbsBoard bbsBoard) {
		// TODO Auto-generated method stub
		bbsBoardMapper.addBbsBoard(bbsBoard);
	}

	@Override
	public void updateBbsBoard(BbsBoard bbsBoard) {
		bbsBoardMapper.updateBbsBoard(bbsBoard);
		
	}
	
	

}
